package com.example.zhuopeng.graduateddesign;

import android.app.Application;
import android.os.Bundle;

import com.android.volley.RequestQueue;
import com.android.volley.toolbox.Volley;

/**
 * Created by zhuopeng on 2018/4/8.
 */

public class VolleyApplication extends Application {
    public static RequestQueue requestQueue;

    public  void onCreate() {
        super.onCreate();
        requestQueue = Volley.newRequestQueue(getApplicationContext());
    }
    public static RequestQueue getRequestQueue(){
        return requestQueue;
    }
}
